home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / APP / A-D / Alpha.4.01.cpt / Alpha.4.01.rsrc / STR#_135.txt < prev    next >
Text File  |  1991-10-22  |  15KB  |  711 lines

  1. elsewhere...
  2.  
  3. Tips and Miscellaneous Things that don't fit
  4.  
  5. 
  6.  
  7. 
  8.  
  9. 
  10.  
  11. 
  12.  
  13. 
  14.  
  15. 
  16.  
  17. 
  18.  
  19. 
  20.  
  21. 
  22.  
  23. 'fillRegion' on the text.
  24.  
  25. 'fillColumn' to a very large number and executing
  26.  
  27. can be mapped back to paragraph mode by setting
  28.  
  29. file, it asks the user whether or not to remap it. Files
  30.  
  31. Therefore, when Alpha detects reads a paragraph-mode
  32.  
  33. 
  34.  
  35. paragraph formatted file while not in paragraph mode.
  36.  
  37. there are valid reasons why someone might want to edit a
  38.  
  39. transparently convert to and from this format because
  40.  
  41. format' in the rest of the help text. Alpha does not
  42.  
  43. the fly. This is what is referred to as 'paragraph
  44.  
  45. of paragraphs, so that they can wrap  the paragraphs on
  46.  
  47. Word and MacWrite only put carriage returns at the end
  48.  
  49. ordinary mac format. Word processors such as Microsoft
  50.  
  51. The fourth file format is just a modification of the
  52.  
  53. 
  54.  
  55. through the 'Format' button.
  56.  
  57. you to specify the format that a file is written in
  58.  
  59. use different formats, but the 'SaveAs...' dialog allows
  60.  
  61. these formats. You don't have to do anything special to
  62.  
  63. Alpha will transparently read and write all three of
  64.  
  65. 
  66.  
  67. return and linefeed. Typical, isn't it?).
  68.  
  69. linefeed), and IBM pc (lines end with both carriage
  70.  
  71. (lines end with a carriage return), unix (lines end with
  72.  
  73. four) different formats. The three main formats are mac
  74.  
  75. Alpha reads and writes files stored in three (or maybe
  76.  
  77. 
  78.  
  79. File Formats
  80.  
  81. 
  82.  
  83. 
  84.  
  85. 
  86.  
  87. 
  88.  
  89. 
  90.  
  91. 
  92.  
  93. your desktop in order to see them.
  94.  
  95. Alpha 3.6 has new color icons. You may need to rebuild
  96.  
  97. 
  98.  
  99. advantage of temporary memory.
  100.  
  101. system in Alpha's heap, and therefore cannot take
  102.  
  103. Note, however, that the clipboard is allocated by the
  104.  
  105. 
  106.  
  107. through 'useTempMem'.
  108.  
  109. the memory in your system. You can turn this feature off
  110.  
  111. across WaitNextEvent calls and may eventually use all
  112.  
  113. admonishments, Alpha does not unlock temporary memory
  114.  
  115. unavailable to other applications. Contrary to all
  116.  
  117. using temporary memory makes that much memory
  118.  
  119. if the system has that much memory available. Note that
  120.  
  121. files even when Alpha's partition is set only at 512k,
  122.  
  123. large files. This allows you to open multi-megabyte
  124.  
  125. Under 7.0, Alpha uses temporary memory to accommodate
  126.  
  127. 
  128.  
  129. eventually will.
  130.  
  131. yet supports "error" apple events, as I hope they
  132.  
  133. don't own it, but my understanding is that they do not
  134.  
  135. they publish them. I am unable to work with MPW as I
  136.  
  137. editors. If so, I'll accommodate their events as soon as
  138.  
  139. that Symantec will open up their system to third-party
  140.  
  141. In addition, there is always the (faint) possibility
  142.  
  143. 
  144.  
  145. for example.
  146.  
  147. events, such as those having to do with spell checking,
  148.  
  149. mythical Apple Events Registry I intend to support other
  150.  
  151. PrintDoc, and QuitApp. If I ever get hold of this
  152.  
  153. "required" high-level events: OpenApp, OpenDoc,
  154.  
  155. However, Alpha currently only supports only the four
  156.  
  157. Alpha is 32-bit clean and high-level event aware.
  158.  
  159. 
  160.  
  161. System Software 7.0 and Alpha
  162.  
  163. 
  164.  
  165. 
  166.  
  167. 
  168.  
  169. 
  170.  
  171. 
  172.  
  173. 
  174.  
  175. 
  176.  
  177. 
  178.  
  179. 
  180.  
  181. the old mac template uses the option key.
  182.  
  183. the 'control' key for emacs command combinations, while
  184.  
  185. not necessary. The default MacII template is set up w/
  186.  
  187. Macs have both an escape and a command key, so this is
  188.  
  189. and use the option key for the emacs command key. Newer
  190.  
  191. To do this, we map the escape key to the backquote key
  192.  
  193. 
  194.  
  195. key as the 'control key'.
  196.  
  197. for menu equivalents, so old macs have to use the option
  198.  
  199. key and a control key.  The Apple command key is used
  200.  
  201. emulation of emacs key bindings. Emacs uses an escape
  202.  
  203. other mac application. Problems arise in ALPHA's
  204.  
  205. ALPHA's default setup uses the command key like any
  206.  
  207. 
  208.  
  209. The Dreaded Option Key
  210.  
  211. 
  212.  
  213.   LF's and CR's.
  214.  
  215. ‚Ä¢ zapInvisibles - removes chars < ascii 32, except for
  216.  
  217.   together.
  218.  
  219.   than 1k. Consecutive deletes are concatenated.
  220.  
  221. ‚Ä¢ yank - insert the last piece of deleted text of less
  222.  
  223. ‚Ä¢ winSearch - brings up search and replace dialog
  224.  
  225.   uppercase in the current word
  226.  
  227. ‚Ä¢ upcaseWord - convert all lowercase letters to
  228.  
  229.   uppercase in the current region
  230.  
  231. ‚Ä¢ upcaseRegion - convert all lowercase letters to
  232.  
  233. ‚Ä¢ undo - undo the last action that has not been undone
  234.  
  235. ‚Ä¢ tileVert - tile the windows vertically
  236.  
  237.   set horizontal and vertical amount
  238.  
  239. ‚Ä¢ tileOrder - offset each window from the previous by a
  240.  
  241. ‚Ä¢ tileHor - tile the windows horizontally
  242.  
  243. ‚Ä¢ tileFull - make all windows "full screen"
  244.  
  245. ‚Ä¢ tabsToSpaces - convert tabs in selection to spaces.
  246.  
  247. ‚Ä¢ startKeyboardMacro - start recording keyboard macro
  248.  
  249.   shift key in the next keystroke
  250.  
  251.   keystroke combination, in the same manner as using the
  252.  
  253. ‚Ä¢ startEscape - used to further modify the next
  254.  
  255. ‚Ä¢ spacesToTabs - convert spaces in selection to tabs
  256.  
  257.   tab
  258.  
  259. ‚Ä¢ shiftRegionRight - shift the current region right a
  260.  
  261. ‚Ä¢ shiftRegionLeft - shifts the current region left a tab
  262.  
  263.   in macros
  264.  
  265. ‚Ä¢ setNamedMark - set a named mark in a file, use 'mark'
  266.  
  267. ‚Ä¢ setMark - set the current mark to the insertion point
  268.  
  269. ‚Ä¢ set - macro-only func to set var values, see examples
  270.  
  271.   next occurrence
  272.  
  273. ‚Ä¢ searchRfa - replace the current selection and find
  274.  
  275. ‚Ä¢ searchReplace - replace the current selection
  276.  
  277.   current file
  278.  
  279. ‚Ä¢ searchRall - replace all further occurrences in the
  280.  
  281.   searches
  282.  
  283. ‚Ä¢ searchEnter - use current selection for future
  284.  
  285.   the up arrow in the vertical scrollbar is selected
  286.  
  287. ‚Ä¢ scrollUpLine - same action as that which occurs when
  288.  
  289.   selected
  290.  
  291.   the right arrow in the horizontal scrollbar is
  292.  
  293. ‚Ä¢ scrollRightCol - same action as that which occurs when
  294.  
  295.   the left arrow in the horizontal scrollbar is selected
  296.  
  297. ‚Ä¢ scrollLeftCol - same action as that which occurs when
  298.  
  299.   the down arrow in the vertical scrollbar is selected
  300.  
  301. ‚Ä¢ scrollDownLine - same action as that which occurs when
  302.  
  303. ‚Ä¢ saveVars - save variable state, see 'restoreVars'
  304.  
  305. ‚Ä¢ revert - revert the file to it's last saved version
  306.  
  307.   see 'saveVars'
  308.  
  309. ‚Ä¢ restoreVars - restore variables to saved state,
  310.  
  311. ‚Ä¢ repeatSearchForward - repeat search forward
  312.  
  313. ‚Ä¢ repeatSearchBackward - repeat search backward
  314.  
  315.   all selected lines.
  316.  
  317. ‚Ä¢ removeSuffix - remove the suffix string before
  318.  
  319.   all selected lines.
  320.  
  321. ‚Ä¢ removePrefix - remove the prefix string before
  322.  
  323. ‚Ä¢ removeMark - allows marks to be removed.
  324.  
  325.   not redone
  326.  
  327. ‚Ä¢ redo - redo the next action that has been undone but
  328.  
  329.   between the mark and the insertion point.
  330.  
  331. ‚Ä¢ rectMarkHilite - creates a rectangular selection
  332.  
  333.   fileset to file specified by variable 'protoFile'.
  334.  
  335. ‚Ä¢ protoFileSet - Send prototypes of all files in current
  336.  
  337.   routines to file specified by variable 'protoFile'.
  338.  
  339. all
  340.  
  341. ‚Ä¢ protoFile - Prompt for file, and send prototypes of
  342.  
  343.   line
  344.  
  345. ‚Ä¢ previousLine - move insertion point to the previous
  346.  
  347. ‚Ä¢ prevWindow - select previous window
  348.  
  349. ‚Ä¢ prevLineSelect - extend selection to the previous line
  350.  
  351.   in the next keystroke
  352.  
  353.   combination, in the same manner as using the shift key
  354.  
  355. ‚Ä¢ prefixChar - used to further modify the next keystroke
  356.  
  357. ‚Ä¢ pasteClip - paste to named clipboard
  358.  
  359.   or 'copy'
  360.  
  361. ‚Ä¢ paste - insert the last chunk of text created by 'cut'
  362.  
  363.   insertion point if 'moveInsertion' enabled
  364.  
  365. ‚Ä¢ pageForward - display next screenful, move the
  366.  
  367.   insertion point if 'moveInsertion' enabled
  368.  
  369. ‚Ä¢ pageBack - display prev screenful, move the
  370.  
  371.   one and move the insertion point to it
  372.  
  373. ‚Ä¢ openLine - insert a new line following the current
  374.  
  375.   into a single space.
  376.  
  377. ‚Ä¢ oneSpace - converts whitespace surrounding insertion
  378.  
  379. ‚Ä¢ nextWindow - select next window
  380.  
  381. ‚Ä¢ nextLine - move insertion point to next line
  382.  
  383. ‚Ä¢ nextLineSelect - extend selection to the next line
  384.  
  385.   first line displayed
  386.  
  387. ‚Ä¢ moveInsertionHere - move the insertion point to the
  388.  
  389.   insertion point
  390.  
  391.   character that matches the character after the current
  392.  
  393. ‚Ä¢ matchBrace - moves the insertion point to the
  394.  
  395.   point and the mark is selected.
  396.  
  397.   is not a selection, the region between the insertion
  398.  
  399.   insertion point around the old selection. If there
  400.  
  401.   selection is unhilited, leaving the mark and the
  402.  
  403.   menu. If there is a currently hilited selection, the
  404.  
  405. ‚Ä¢ markHilite - This is the 'Hilite' from the 'Edit'
  406.  
  407.   loaded text take effect
  408.  
  409.   bindings or macro definitions are present in the
  410.  
  411.   nothing is hilited. 'load'ing means that whatever
  412.  
  413. ‚Ä¢ loadFile - loads hilited text, or entire window if
  414.  
  415. ‚Ä¢ killWindow - kill current window
  416.  
  417.   and move succeeding lines up one.
  418.  
  419.   of the line. If the line has no text, delete the line
  420.  
  421. ‚Ä¢ killLine - kill text from insertion point to the end
  422.  
  423.   Can be used to create bindings in 'Alphabits'.
  424.  
  425.   representing and modifiers into the current window.
  426.  
  427. ‚Ä¢ keyCode - insert the key code along w/ a string
  428.  
  429.   necessary.
  430.  
  431.   of the keydown event, plus a modifier string, if
  432.  
  433. ‚Ä¢ keyAscii - insert ascii representation (in decimal)
  434.  
  435.   macro (including the keyboard macro) many times.
  436.  
  437.   window. Also can be used to execute any function or
  438.  
  439.   times. "option-u 44 =" inserts 44 '='s into current
  440.  
  441. ‚Ä¢ iterationCount - allows actions to be repeated many
  442.  
  443.   line number along w/ the total number of lines in file
  444.  
  445.   is on the first line shown, and display the current
  446.  
  447. ‚Ä¢ insertToTop - make the line that the insertion point
  448.  
  449.   all selected lines.
  450.  
  451. ‚Ä¢ insertSuffix - insert the suffix string before
  452.  
  453.   all selected lines.
  454.  
  455. ‚Ä¢ insertPrefix - insert the prefix string before
  456.  
  457.   undoable.
  458.  
  459.   corresponding file into the current window. Not
  460.  
  461. ‚Ä¢ insertFile - prompts for a file name and inserts the
  462.  
  463.   into text.
  464.  
  465. ‚Ä¢ insertAscii - prompts for an ASCII code and inserts
  466.  
  467.   of the non-white space text
  468.  
  469.   indented and the selection is placed at the start
  470.  
  471.   before first non-white space of line, the line is
  472.  
  473. ‚Ä¢ indentLine - semi-intelligent indent. If cursor is
  474.  
  475.   find the include file.
  476.  
  477.   the suffix and use the var 'includePath' to try to
  478.  
  479. ‚Ä¢ includeFile - expand the current selection to include
  480.  
  481. ‚Ä¢ gotoMark - goto named mark, use 'mark' in macros.
  482.  
  483. ‚Ä¢ gotoLine - go to a line number
  484.  
  485.   into the current window
  486.  
  487.   and paste the complete path-name of the chosen file
  488.  
  489. ‚Ä¢ getPathName - present the user w/ a SFGetFIle dialog
  490.  
  491. ‚Ä¢ getHelp - display help dialog
  492.  
  493.   current insertion point
  494.  
  495. ‚Ä¢ getAscii - displays the ASCII code for character at
  496.  
  497.   memory reserves of ALPHA
  498.  
  499. ‚Ä¢ freeMem - give a rough approximation of the current
  500.  
  501. ‚Ä¢ forwardWord - move insertion one word forward
  502.  
  503. ‚Ä¢ forwardChar - move insertion one character forward
  504.  
  505.   forward
  506.  
  507. ‚Ä¢ forwardCharSelect - extend selection one character
  508.  
  509. ‚Ä¢ foreColor - set foreground (text) color
  510.  
  511. ‚Ä¢ findFile - open a new file
  512.  
  513.   definition
  514.  
  515.   to use the file 'cTAGS' to locate the function's
  516.  
  517. ‚Ä¢ findTag - prompt user for a function name and attempt
  518.  
  519.   'fillColumn'.
  520.  
  521.   and the selection to the column specified by
  522.  
  523. ‚Ä¢ fillRegion - wrap the region specified by the 'mark'
  524.  
  525.   and 'paraEnd' (see the regular expression section).
  526.  
  527.   paragraph are specified by the variables 'paraBegin'
  528.  
  529.   selection to the 'fillColumn'. The limits of the
  530.  
  531. ‚Ä¢ fillParagraph - wrap the paragraph around the
  532.  
  533. ‚Ä¢ fileRemove - prompts for a file, and removes it
  534.  
  535.   modification time, and creation time
  536.  
  537.   creator, sizes of both data and resource forks, last
  538.  
  539. ‚Ä¢ fileInfo - prompts for a file, and displays type,
  540.  
  541.   macro
  542.  
  543. ‚Ä¢ executeKeyboardMacro - execute the current keyboard
  544.  
  545.   space and tab keys act as "completion" commands.
  546.  
  547. ‚Ä¢ execute - prompt user for a function or macro. The
  548.  
  549.   w/ the current insertion point
  550.  
  551. ‚Ä¢ exchangePointAndmark - exchange the current 'mark'
  552.  
  553. ‚Ä¢ endOfLine - move insertion to the end of the line
  554.  
  555. ‚Ä¢ endOfBuffer - move insertion to the end of the buffer
  556.  
  557. ‚Ä¢ endKeyboardMacro - stop recording keyboard macro
  558.  
  559. ‚Ä¢ endLineSelect - extend selection to the end of line
  560.  
  561.   buffer
  562.  
  563. ‚Ä¢ endBufferSelect - extend selection to the end of the
  564.  
  565.   correct line and open a new line
  566.  
  567. ‚Ä¢ electricRightBrace - insert a right brace on the
  568.  
  569.   line and indent to the "proper" level.
  570.  
  571.   sure that the brace is on a new line, open a further
  572.  
  573. ‚Ä¢ electricLeftBrace - if 'electricLBrace' is set, make
  574.  
  575.   macro into the current buffer
  576.  
  577.   keyboard macro and then dumps a definition of the
  578.  
  579. ‚Ä¢ dumpMacro - prompts the user to name the current
  580.  
  581.   format.
  582.  
  583.   colors into the current buffer in Alpha-readable
  584.  
  585. ‚Ä¢ dumpColors - dump current foreground and background
  586.  
  587.   lowercase in current word
  588.  
  589. ‚Ä¢ downcaseWord - changes all uppercase letters to
  590.  
  591.   lowercase in current region
  592.  
  593. ‚Ä¢ downcaseRegion - changes all uppercase letters to
  594.  
  595. ‚Ä¢ doZoom - zooms the current window
  596.  
  597. ‚Ä¢ doQuit - quits ALPHA
  598.  
  599. ‚Ä¢ doTab - insert a tab
  600.  
  601.   indent the new line
  602.  
  603.   electricSemi' is set, insert a carriage return and
  604.  
  605. ‚Ä¢ doElectricSemi - insert semicolon, and if '
  606.  
  607. ‚Ä¢ doSave - saves current window
  608.  
  609. ‚Ä¢ doNew - opens an untitled window
  610.  
  611. ‚Ä¢ deleteSelection - delete current position, don't save
  612.  
  613. ‚Ä¢ deleteWord - delete word after cursor
  614.  
  615. ‚Ä¢ deleteChar - delete char AFTER cursor
  616.  
  617. ‚Ä¢ cutClip - cut to named clipboard
  618.  
  619. ‚Ä¢ cut - deletes and saves region
  620.  
  621. ‚Ä¢ currentPosition - displays current and total bytes.
  622.  
  623.   in a file called 'cTAGS'.
  624.  
  625.   and saves the locations of any function declarations
  626.  
  627. ‚Ä¢ createTagFile - searches all files in current file set
  628.  
  629. ‚Ä¢ copyClip - copy to named clipboard
  630.  
  631. ‚Ä¢ copy - copy region
  632.  
  633. ‚Ä¢ closeAll - close all windows
  634.  
  635.   the middle.
  636.  
  637. ‚Ä¢ centerRedraw - redraw window with current line in
  638.  
  639.   line if the variable 'indentOnCR' is set to 'on'
  640.  
  641. ‚Ä¢ carriageReturn - insert carriage return, indent new
  642.  
  643. ‚Ä¢ capitalizeWord - capitalize word
  644.  
  645.   region
  646.  
  647. ‚Ä¢ capitalizeRegion - capitalize all words in selected
  648.  
  649.   the line
  650.  
  651. ‚Ä¢ beginningOfLine - move insertion to the beginning of
  652.  
  653.   of the buffer
  654.  
  655. ‚Ä¢ beginningOfBuffer - move insertion to the beginning
  656.  
  657.   beginning of the line
  658.  
  659. ‚Ä¢ beginningLineSelect - extend selection to the
  660.  
  661.   beginning of the buffer
  662.  
  663. ‚Ä¢ beginningBufferSelect - extend selection to the
  664.  
  665.   brackets that encloses the current selection
  666.  
  667. ‚Ä¢ balance - selects smallest set of parens, braces, or
  668.  
  669. ‚Ä¢ backwardWord - moves insertion one char back
  670.  
  671. ‚Ä¢ backwardDeleteWord - deletes previous word
  672.  
  673. ‚Ä¢ backwardChar - moves insertion one char back
  674.  
  675. ‚Ä¢ backwardCharSelect - extends selection one char back
  676.  
  677. ‚Ä¢ backColor - set background color
  678.  
  679. ‚Ä¢ abortEm - aborts whatever is currently happening
  680.  
  681. 
  682.  
  683. but through pattern-matching the string "^[^
  684.  
  685. above, 'C' functions are detected not through parsing,
  686.  
  687. Several functions deal with 'C' functions. As stated
  688.  
  689. 
  690.  
  691. selected.
  692.  
  693. commands also work on blocks of text that are currently
  694.  
  695. status line will say 'Mark set'. All of the region
  696.  
  697. You will always know when the mark is set because the
  698.  
  699. commands such as 'beginningOfBuffer' or 'endOfBuffer'.
  700.  
  701. current 'mark' is set by the 'setMark' command, or
  702.  
  703. between the current 'mark', and the insertion point. The
  704.  
  705. from emacs and are used to refer to all of the text
  706.  
  707. Many of the commands manipulate 'regions'. Regions come
  708.  
  709. 
  710.  
  711.